.main {
    position: absolute;
    width: 750px;
    height: 100%;
    background-color: #fff;
    padding-top: 100px;
    box-sizing: border-box;

    .searchTags {
        .tagPart {
            .tagsTitle {
                padding: 30px 0;

                span {
                    font-size: 24px;
                    font-family: PingFangSC-Regular;
                    font-weight: 400;
                    color: #666;
                }
            }

            .tags {
                display: flex;
                flex-wrap: wrap;

                .tegsItem {
                    padding: 12px 30px;
                    font-size: 24px;
                    font-family: PingFangSC-Regular;
                    font-weight: 400;
                    color: #666;
                    border-radius: 30px;
                    border: 2px solid rgba(219, 219, 219, 1);
                    margin-bottom: 20px;
                    margin-right: 20px;

                    &.tegsItemActive {
                        color: #F86535;
                        border: 2px solid #F86535;
                    }

                    img {
                        margin-right: 5px;
                    }

                    &>* {
                        vertical-align: sub;
                    }
                }
            }
        }
    }

    .empty {
        background-color: #F5F5F5;
        padding-top: 50px;
        padding-bottom: 76px;

        .emptyImg {
            text-align: center;
        }

        .emptyText {
            span {
                font-size: 32px;
                font-family: PingFangSC-Regular;
                font-weight: 400;
                color: #666;
            }

            text-align: center;
        }
    }

    .goodsList {
        .goodsItem {
            padding-top: 20px;
            padding-bottom: 20px;
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid #dddddd;

            &:last-child {
                border-bottom: 0;
            }

            .goodsItemImg {
                width: 220px;
                height: 220px;
                position: relative;
                background-color: #F5F5F5;

                .goodsItemImgContainer {
                    width: 180px;
                    height: 180px;
                    top: 20px;
                    left: 20px;
                    background-size: contain;
                    position: absolute;
                }

                .goodsItemSoldout {
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 100%;
                    height: 100%;
                    background-color: rgba(255, 255, 255, 0.5);
                    padding: 50px;
                    padding-top: 60px;
                    box-sizing: border-box;

                    div {
                        width: 110px;
                        height: 110px;
                        background-color: rgba(0, 0, 0, 0.7);
                        border-radius: 100px;
                        line-height: 110px;
                        text-align: center;
                        color: #fff;
                        font-size: 35px;
                        margin: 0 auto;
                    }
                }
            }

            .goodsItemInfo {
                width: 450px;
                padding: 10px 0;
                box-sizing: border-box;
                position: relative;

                .goodsItemInfoName {
                    font-size: 32px;
                    font-family: PingFangSC-Semibold;
                    font-weight: 600;
                    color: rgba(34, 33, 45, 1);
                    overflow: hidden;
                    text-overflow: ellipsis;
                    white-space: nowrap;
                    height: 75px;
                }

                .goodsItemInfoPrice {
                    font-size: 34px;
                    font-family: PingFangSC-Semibold;
                    font-weight: 600;
                    color: rgba(248, 101, 53, 1);
                    line-height: 48px;

                    span {
                        font-size: 24px;
                        font-family: PingFangSC-Regular;
                        font-weight: 400;
                        color: rgba(168, 167, 177, 1);
                        line-height: 33px;
                    }
                }

                .goodsItemInfoStock {
                    width: 240px;
                    height: 30px;
                    border-radius: 17px;
                    border: 1px solid rgba(248, 101, 53, 1);
                    margin-top: 12px;
                    box-sizing: border-box;
                    overflow: hidden;
                    position: relative;

                    .goodsItemInfoStockBg {
                        position: absolute;
                        left: 0;
                        top: 0;
                        background-color: rgba(248, 101, 53, 0.1);
                        width: 0;
                        height: 30px;
                    }

                    .goodsItemInfoStockValue {
                        font-size: 22px;
                        font-family: PingFangSC-Regular;
                        font-weight: 400;
                        color: rgba(248, 101, 53, 1);
                        position: absolute;
                        left: 50%;
                        top: 50%;
                        transform: translate(-50%, -50%);
                    }
                }

                .goodsItemInfoSoldNum {
                    font-size: 22px;
                    font-family: PingFangSC-Regular;
                    font-weight: 400;
                    color: rgba(168, 167, 177, 1);
                    margin-top: 10px;
                }

                .goodsItemBuy {
                    position: absolute;
                    bottom: 10px;
                    right: 0;
                    width: 120px;
                    height: 60px;
                    background: rgba(30, 31, 38, 1);
                    border-radius: 30px;
                    color: #fff;
                    box-sizing: border-box;
                    font-size: 28px;
                    font-family: PingFangSC-Regular;
                    font-weight: 400;
                    color: rgba(255, 255, 255, 1);
                    outline: none;

                    &.orderState {
                        border: 2px solid rgba(30, 31, 38, 1);
                        color: rgba(30, 31, 38, 1);
                        background-color: #fff;
                    }
                }
            }
        }
    }

    .recommend {
        .recommendTitle {
            padding: 13px 0;
            text-align: center;
        }
    }

    .part {
        padding: 0 30px;
    }
}

.search {
    width: 750px;
    padding: 20px 30px;
    position: absolute;
    left: 50%;
    margin-left: -375px;
    top: 0;
    display: flex;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    background-color: #fff;

    .searchBar {
        width: 560px;
        height: 60px;
        background: #EAEAEA;
        border-radius: 30px;
        position: relative;

        .searchBarBg {
            width: 560px;
            height: 60px;
            font-size: 24px;
            font-family: PingFangSC-Regular;
            font-weight: 400;
            color: #666;
            line-height: 60px;
            text-align: center;
            z-index: 10;
            opacity: 1;
            transition: opacity .2s ease 0s;

            &.hide {
                opacity: 0;
            }

            img {
                margin-right: 10px;
                width: 24px;
                height: 24px;
            }

            &>* {
                vertical-align: sub;
            }
        }

        .inputClose {
            position: absolute;
            right: 25px;
            top: 20px;
            z-index: 1;
        }

        .searchBarInput {
            -webkit-appearance: none;
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0);
            border: 0;
            box-sizing: border-box;
            padding: 10px 30px;
            font-size: 24px;
            font-family: PingFangSC-Regular;
            font-weight: 400;
            color: #666;
        }
    }

    .searchBtn {
        width: 110px;
        height: 60px;
        background: rgba(248, 101, 53, 1);
        border-radius: 30px;
        box-sizing: border-box;
        font-size: 28px;
        font-family: PingFangSC-Regular;
        font-weight: 400;
        color: rgba(255, 255, 255, 1);
        padding: 8px 0;
    }
}